local card_extension = Package:new("nolordcards", Package.CardPack)
card_extension.extensionName = "sifu_heg"
local H = require "packages/ol_hegemony/util"
local U = require "packages/utility/utility"
local S = require "packages/sifu_heg/SeaFunc"
card_extension.game_modes_whitelist = {"zhonger_heg_mode"}
--无君主装备用的标准势备牌堆
local heg_jingfanSkill = fk.CreateDistanceSkill{
  name = "#heg_jingfan_skill",
  attached_equip = "heg_jingfan",
  correct_func = function(self, from, to)
    if from:hasSkill(self) then
      return -1
    end
  end,
}
Fk:addSkill(heg_jingfanSkill)
local jingfan = fk.CreateOffensiveRide{ --重写惊帆让它有合纵
    name = "heg_jingfan",
    suit = Card.Heart,
    number = 3,
    equip_skill = heg_jingfanSkill,
  }
  H.addCardToAllianceCards(jingfan)
  Fk:loadTranslationTable{
    ["heg_jingfan"] = "惊帆",
    [":heg_jingfan"] = "装备牌·坐骑<br /><b>坐骑技能</b>：你与其他角色的距离-1。",
  }
  
Fk:loadTranslationTable{
    ["nolordcards"]=  "无君主装备",
    }
card_extension:addCards{
  Fk:cloneCard("double_swords",Card.Spade,2), --雌雄双股剑
  jingfan,--惊帆
  Fk:cloneCard("six_swords",Card.Diamond,6), --吴六剑
  Fk:cloneCard("zhuahuangfeidian",Card.Heart,13),--爪黄飞电
        }
      
return card_extension
